﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using Entities;

namespace BLL
{
   public class LinkBLL
    {
       public static string ToTinTuc(string page)
       {
           return LinkDAL.ToTinTuc(page);
       }
       public static string ToTinTuc()
       {
           return LinkDAL.ToTinTuc("1");
       }
       public static string ToTinTucs(string ID)
       {
           return LinkDAL.ToTinTucs(ID);
       }
      
       public static string ToTinTucImages(string fileName)
       {
           return LinkDAL.ToTinTucImages(fileName);
       }
       public static string ToChuDe(string Id, string page)
       {
           return LinkDAL.ToChuDe(Id, page);
       }
       public static string ToChuDe(string Id)
       {
           return LinkDAL.ToChuDe(Id, "1");
       }
       public static string ToLoaiSP(string Id, string page)
       {
           return LinkDAL.ToLoaiSP(Id, page);
       }
       public static string ToLoaiSP(string Id)
       {
           return LinkDAL.ToLoaiSP(Id, "1");
       }
       public static string ToAdminUpLoad(string clientId, string page)
       {
           return LinkDAL.ToAdminUpLoad(clientId, page);
       }
       public static string ToAdminUpLoad(string clientId)
       {
           return LinkDAL.ToAdminUpLoad(clientId);
       }
       public static string ToAdminTinTuc(string page)
       {
           return LinkDAL.ToAdmin_TinTuc(page);
       }
       public static string ToAdminTinTuc()
       {
           return LinkDAL.ToAdmin_TinTuc("1");
       }
       public static string ToAdmin_TaiKhoan(string page)
       {
           return LinkDAL.ToAdmin_TaiKhoan(page);
       }
       public static string ToAdmin_TaiKhoan()
       {
           return LinkDAL.ToAdmin_TinTuc("1");
       }
       public static string ToHinhAnhSanPham(string filename)
       {
           return LinkDAL.ToHinhAnhSanPham(filename);
       }
       // San Pham
       public static string ToSanPham(string Id)
       {
           return LinkDAL.ToSanPham(Id);
       }
       public static string ToGioHang(string Id)
       {
           return LinkDAL.ToHinhAnhSanPham(Id);
       }
       public static string ToSearchString(string searchString,string page)
       {
           return LinkDAL.ToSearchString(searchString,page);
       }
       public static string ToSearchString(string search)
       {
           return LinkDAL.ToSearchString(search,"1");
       }
       public static string ToSearchChuDe(string searchString) 
        {
            return LinkDAL.ToSearchChuDe(searchString);
        }
       public static string ToSearchChuDe() 
        {
            return LinkDAL.ToSearchChuDe("1");
        }
       public static string ToSearchLoaiSP(string search)
       {
           return LinkDAL.ToSearchLoaiSP(search);
       }
       public static string ToSearchLoaiSP()
       {
           return LinkDAL.ToSearchLoaiSP("1");
       }
    }
}
